﻿#ifndef ENEMYPLANE_H
#define ENEMYPLANE_H

#include <QPixmap>



class EnemyPlane
{
public:
    EnemyPlane();

    QPixmap getEnemy() const;

    int getPostionX() const;
    void setPostionX(int value);

    int getPostionY() const;
    void setPostionY(int value);

    void updatePostion();

    bool getIsFree() const;
    void setIsFree(bool value);


    QRect getEnemyRect() const;

private:
    QPixmap enemy;
    QRect enemyRect;
    int postion_x;
    int postion_y;
    int speed;
    bool isFree;
};

#endif // ENEMYPLANE_H
